package create_tenant

import (
	"context"
)

type TenantsCreateTaskRepositoryIface interface {
	AddTenantsCreateTask(ctx context.Context, data *TenantsCreateTask) (int32, error)
	SaveTenantsCreateTask(ctx context.Context, data *TenantsCreateTask) error
	GetTaskByTenantCode(ctx context.Context, tenantCode string) (*TenantsCreateTask, error)
	GetTenantsCreateTask(ctx context.Context, taskId string) (*TenantsCreateTask, error)
	GetEffectiveTask(ctx context.Context, tenantCode string) (*TenantsCreateTask, error)

	UpdateStatus(ctx context.Context, tenantCode string, taskId string, status int32) error
}
